package com.lx.screenshot.floatWindow;

import android.graphics.Bitmap;

/**
 * 截屏结果监听接口
 */
public interface OnScreenResult {
    default void screenSuccess(Bitmap bitmap){}
    ;
    default void screenSuccess(Bitmap bitmap, float startX, float startY, float endX, float endY){
        System.out.println("startX:"+startX+" startY:"+startY+" endX:"+endX+" endY:"+endY);
    }

    default void screenFail(String msg) { msg = "Screen shot is faile";}

}
